<?php

	define('ABSOLUTE_SERVER_REMOTE_ADDR','../../');
	define('ABSOLUTE_SERVER_DOCUMENT_ROOT','../../');

	ob_start();
	
	print ABSOLUTE_SERVER_DOCUMENT_ROOT;

    include(ABSOLUTE_SERVER_DOCUMENT_ROOT.'session.inc');
    require_once(ABSOLUTE_SERVER_DOCUMENT_ROOT.'funct.inc');
    if(!GetAdminID($ID)){echo"Nie ste korektne prihlaseni a nemate administracne prava.";exit;}
    if(!Right_Check(5)){header('Location:'.ABSOLUTE_SERVER_DOCUMENT_ROOT.'error.php');exit;}
    include ABSOLUTE_SERVER_DOCUMENT_ROOT.'color_style.php';
?>

<html>

<head>

<title>Admin</title>
<?php echo '<meta http-equiv="Content-Type" content="text/html; charset='._CHARSET_.';">'; ?>
<style>
<!--
body
{
        margin-left:0pt;
        margin-right:0pt;
        margin-top:0pt;
        margin-bottom:0pt;
}

table
{

    margin-left:0pt;
        margin-right:0pt;
        margin-top:0pt;
        margin-bottom:0pt;

    border-bottom-color: red;
    border-top-color: red;
    border-left-color: red;
    border-right-color: red;
    border-collapse: collapse;
}

iframe
{
        margin-left:0pt;
        margin-right:0pt;
        margin-top:0pt;
        margin-bottom:0pt;
}

form
{
        margin-top:0px;
        margin-bottom:0px
}

img {margin-top:0pt; margin-bottom:0px;}

a {text-decoration: none; font-weight: normal; color:black; font-size:12;}
a:hover {text-decoration: none; font-weight: bold; color:blue; font-size:12;}

-->
</style>

</head>

<?php
print "<body bgcolor=\"".Background_Color."\">";
print"

			<iframe src=\"adm_informations_big_menu.php\" name=\"menu\" scrolling=\"Auto\"
			     width=\"155px\" height=\"100%\" marginwidth=\"0\" marginheight=\"0\"
			     frameborder=\"No\" border=\"0\"
			     style=\"position:absolute;left:0px;top:0px;\"
			></iframe>
			<iframe src=\"adm_informations_big_text.php\" name=\"contents\" valign=\"top\" scrolling=\"Auto\"
			     width=\"670px\" height=\"100%\" marginwidth=\"0\" marginheight=\"0\"
			     frameborder=\"No\" border=\"0\"
			     style=\"position:absolute;left:155px;top:0px;\"
			></iframe>   
			<iframe src=\"adm_informations_big_news.php\" name=\"news\" valign=\"top\" scrolling=\"Auto\"
			     width=\"175px\" height=\"100%\" marginwidth=\"0\" marginheight=\"0\"
			     frameborder=\"No\" border=\"0\"
			     style=\"position:absolute;left:825px;top:0px;\"
			></iframe>
			     
";
?>
</body>
</html>
